package com.logic.landseaserver.service;

import java.util.List;

import com.logic.common.exception.BusinessException;
import com.logic.common.service.ICRUDService;
import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.Check;
import com.logic.landseaserver.domain.Issue;
import com.logic.landseaserver.ws.dto.CheckDTO;

public interface ICheckService extends ICRUDService{

	Object getDTO(Integer checkId) throws BusinessException;

	List<CheckDTO> queryDTO(QueryUtil queryUtil);

	Issue addIssue(Integer checkId, Integer issueId) throws BusinessException;

	Issue addIssue(Integer checkId, Issue issue) throws BusinessException;

	void  addIssue(Integer checkId, String issueIds) throws BusinessException;

	void  batchAddIssue(Integer checkId, List<Issue> newIssue) throws BusinessException;

	void removeIssue(Integer checkId, Integer issueId) throws BusinessException;

	void removeIssue(Integer checkId, String issueIds) throws BusinessException;

	Check copyFromTemplate(Integer checkId) throws BusinessException;

}
